<?php

require_once('Bootstrap.php');

use Custom\Database\Database,
    Application\TaskController;

/**
 * Load database
 */
$oDatabase = new Database('comnu.com:3306', 'task', 'task', 'OSUaZMQFDEeawOW');

/**
 * Load controller(s)
 */
$oController = new TaskController();
try {
    $oController->listAction();
} catch (Exception $e) {
    print '<pre>' . print_r($e, true) . '</pre>' . PHP_EOL;
}

?>
